package com.线程案例.threadLocal;

import com.线程案例.threadLocal.User11;

/**
 * @author: LI-CI-GAO
 * 作者: licigao
 * 日期: 2021/8/16  15:25
 * 描述:
 */
public class TestThreadLocal {
    public static void main(String[] args) {

        ThreadLocal<User11> threadLocal=new ThreadLocal<>();

        MyThread m1=new MyThread(threadLocal,"A");
        MyThread m2=new MyThread(threadLocal,"B");
        MyThread m3=new MyThread(threadLocal,"C");
        m1.start();
        m2.start();
        m3.start();


    }
}
